﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeFile="Adduser.aspx.cs" Inherits="admin_funcion_Adduser" %>

<%@ Register src="../usercontrol/category.ascx" tagname="category" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceLeft" Runat="Server">
    <uc1:category ID="category1" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div  class="portlet x9">
    <div class="portlet-header"><h4>Thêm tài khoản Admin</h4></div>
    <div class="portlet-content">
            <div class="adrow">
               
                    <span style=" font-size:15; font-weight: bold; color:red">THÊM TÀI KHOẢN ADMIN MỚI</span>
            </div>
            <div class="adrow">
                <span style=" font-size:15; font-weight: bold; color:red">
                    <asp:Label ID="Lbmessage" runat="server" Text=""></asp:Label></span>
                   
            </div>
            <div class="adrow">
                <div class="adlrow">
                   Họ và tên:
                </div>
                <div class="adrrow">
                    <asp:TextBox ID="txtfullname" runat="server" Width="200px"></asp:TextBox>
                     <asp:RequiredFieldValidator ID="reqfullname" runat="server" ErrorMessage="(*)" 
                        ControlToValidate="txtfullname"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="adrow">
                <div class="adlrow">
                   Tên Đăng nhập:
                </div>
                <div class="adrrow">
                    <asp:TextBox ID="txtnamelogin" runat="server" Width="200px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="reqnamelogin" runat="server" ErrorMessage="(*)" 
                        ControlToValidate="txtnamelogin"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="adrow">
                <div class="adlrow">
                   Mật khẩu
                </div>
                <div class="adrrow">
                    <asp:TextBox ID="txtpass" runat="server" TextMode="Password" Width="200px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqpass" runat="server" ErrorMessage="(*)" 
                        ControlToValidate="txtpass"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="adrow">
                <div class="adlrow">
                   Nhập Lại mật khẩu
                </div>
                <div class="adrrow">
                    <asp:TextBox ID="txtpassagain" runat="server" TextMode="Password" Width="200px"></asp:TextBox>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ErrorMessage="Xác nhận mật khẩu không đúng" ControlToCompare="txtpass" 
                        ControlToValidate="txtpassagain"></asp:CompareValidator>
                </div>
            
            </div>
             <div class="adrow">
                <div class="adlrow">
                 
                </div>
                <div class="adrrow" style=" text-align: center">
                    <asp:Button ID="btnsubmit" runat="server" Text="Đồng ý" 
                        onclick="btnsubmit_Click" />
                    
                </div>
            </div>
            
    
    </div>
    </div>
</asp:Content>

